<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
0
|| checktplrefresh('./template/huyou_zisy/common/header.htm', './template/huyou_zisy/common/header_common.htm', 1528784041, '2', './data/template/2_2_common_header_forum_forumdisplay.tpl.php', './template/huyou_zisy', 'common/header_forum_forumdisplay')
|| checktplrefresh('./template/huyou_zisy/common/header.htm', './template/huyou_zisy/common/inmobile.htm', 1528784041, '2', './data/template/2_2_common_header_forum_forumdisplay.tpl.php', './template/huyou_zisy', 'common/header_forum_forumdisplay')
|| checktplrefresh('./template/huyou_zisy/common/header.htm', './template/huyou_zisy/common/header_qmenu.htm', 1528784041, '2', './data/template/2_2_common_header_forum_forumdisplay.tpl.php', './template/huyou_zisy', 'common/header_forum_forumdisplay')
|| checktplrefresh('./template/huyou_zisy/common/header.htm', './template/huyou_zisy/common/pubsearchform.htm', 1528784041, '2', './data/template/2_2_common_header_forum_forumdisplay.tpl.php', './template/huyou_zisy', 'common/header_forum_forumdisplay')
|| checktplrefresh('./template/huyou_zisy/common/header.htm', './template/huyou_zisy/klp/2jdh.htm', 1528784041, '2', './data/template/2_2_common_header_forum_forumdisplay.tpl.php', './template/huyou_zisy', 'common/header_forum_forumdisplay')
|| checktplrefresh('./template/huyou_zisy/common/header.htm', './template/huyou_zisy/common/klp_pubsearchform.htm', 1528784041, '2', './data/template/2_2_common_header_forum_forumdisplay.tpl.php', './template/huyou_zisy', 'common/header_forum_forumdisplay')
;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
     <meta http-equiv="X-UA-Compatible" content="IE=9,IE=7">
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
<?php if($_G['config']['output']['iecompatible']) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE<?php echo $_G['config']['output']['iecompatible'];?>" /><?php } ?>
<title><?php if(!empty($navtitle)) { ?><?php echo $navtitle;?> - <?php } if(empty($nobbname)) { ?> <?php echo $_G['setting']['bbname'];?> - <?php } ?> Powered by Discuz!</title>
<?php echo $_G['setting']['seohead'];?>
<meta name="keywords" content="<?php if(!empty($metakeywords)) { echo dhtmlspecialchars($metakeywords); } ?>" />
<meta name="description" content="<?php if(!empty($metadescription)) { echo dhtmlspecialchars($metadescription); ?> <?php } if(empty($nobbname)) { ?>,<?php echo $_G['setting']['bbname'];?><?php } ?>" />
<meta name="generator" content="Discuz! <?php echo $_G['setting']['version'];?>" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2013 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_2_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_2_forum_forumdisplay.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
    <script language="JavaScript"> function killErrors() { return true; } window.onerror = killErrors; </script>
    <link href="<?php echo $_G['style']['styleimgdir'];?>/klp_zsy.css?<?php echo VERHASH;?>" rel="stylesheet" type="text/css"/>
    <!--[if lt IE 9]>
<script src="<?php echo $_G['style']['styleimgdir'];?>/js/html5shiv.min.js" type="text/javascript"></script>
<script src="<?php echo $_G['style']['styleimgdir'];?>/js/respond.min.js" type="text/javascript"></script>
    <![endif]-->
<script src="<?php echo $_G['style']['styleimgdir'];?>/js/jquery.min.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<script type="text/javascript">jq = jQuery.noConflict();</script>
<?php if(empty($_GET['diy'])) { $_GET['diy'] = '';?><?php } if(!isset($topic)) { $topic = array();?><?php } $huyou_zisyset = $_G['cache']['plugin']['huyou_zisy_set'];
if(file_exists(DISCUZ_ROOT.'./source/plugin/huyou_zisy_set/table/table_huyou_zisyset.php')){
$listcityset = C::t('#huyou_zisy_set#huyou_zisyset')->get_listall();}?><style type="text/css">
body{ background-image: url(<?php echo $listcityset['bg_body']?>); background-repeat: repeat-x; background-position: center 40px;}
.klp_wx040 .klp_pic040wx{background: url(<?php echo $listcityset['weixin_sd']?>) no-repeat scroll 0 0; background-size: 100%;}
.klp_app040 .klp_pic040app{background: url(<?php echo $listcityset['app_sd']?>) no-repeat scroll 0 0; background-size: 100%;}
@media(max-width:1200px){
body{background-image: none;}
}
</style>
<style type="text/css">
.ie_all .klp_snvon .klp_snvbg{ left: 80%;}
    <?php echo $huyou_zisyset['huyou_zisy_css'];?>
</style>
 
<script type="text/javascript">
<?php echo $huyou_zisyset['huyou_zisy_js'];?>
</script>
<meta name="application-name" content="<?php echo $_G['setting']['bbname'];?>" />
<meta name="msapplication-tooltip" content="<?php echo $_G['setting']['bbname'];?>" />
<?php if($_G['setting']['portalstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['1']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G['siteurl'].'portal.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/portal.ico" /><?php } ?>
<meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['2']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G['siteurl'].'forum.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/bbs.ico" />
<?php if($_G['setting']['groupstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['3']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G['siteurl'].'group.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/group.ico" /><?php } if(helper_access::check_module('feed')) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['4']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G['siteurl'].'home.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/home.ico" /><?php } if($_G['basescript'] == 'forum' && $_G['setting']['archiver']) { ?>
<link rel="archives" title="<?php echo $_G['setting']['bbname'];?>" href="<?php echo $_G['siteurl'];?>archiver/" />
<?php } if(!empty($rsshead)) { ?><?php echo $rsshead;?><?php } if($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') { ?>
<script src="<?php echo $_G['setting']['jspath'];?>forum.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<?php } elseif($_G['basescript'] == 'home' || $_G['basescript'] == 'userapp') { ?>
<script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<?php } elseif($_G['basescript'] == 'portal') { ?>
<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<?php } if($_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<?php } if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
<link rel="stylesheet" type="text/css" id="diy_common" href="<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_diy.css?<?php echo VERHASH;?>" />
<?php } if($_G['basescript'] == 'home' ) { ?>
  		<link rel="stylesheet" href="template/huyou_zisy/klp_img/home/style.css">
<?php if($_G['basescript'] === 'home' && $_GET['ac']=='upload' || $_G['basescript'] === 'home' && $_GET['ac']=='blog') { ?>
<link rel="stylesheet" href="template/huyou_zisy/klp_img/home/upload.css">
<?php } } function klp_BeWeixin(){ 
if ( strpos($_SERVER['HTTP_USER_AGENT'], 
'MicroMessenger') !== false ) {
return true;
}  
return false;
}

function klp_BeMobile() {
  if (isset($_SERVER['HTTP_X_WAP_PROFILE'])) {
    return true;
  }
  if (isset($_SERVER['HTTP_VIA'])) {
    return stristr($_SERVER['HTTP_VIA'], "wap") ? true : false;
  }

  if (isset($_SERVER['HTTP_USER_AGENT'])) {
    $clientkeywords = array('nokia','sony','ericsson','mot','samsung','htc','sgh','lg','sharp','sie-','philips','panasonic','alcatel','lenovo','iphone','ipod','blackberry','meizu','android','netfront','symbian','ucweb','windowsce','palm','operamini','operamobi','openwave','nexusone','cldc','midp','wap','mobile','MicroMessenger');

    if (preg_match("/(" . implode('|', $clientkeywords) . ")/i", strtolower($_SERVER['HTTP_USER_AGENT']))) {
      return true;
    }
  }

  if (isset ($_SERVER['HTTP_ACCEPT'])) {

    if ((strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml') !== false) && (strpos($_SERVER['HTTP_ACCEPT'], 'text/html') === false || (strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml') < strpos($_SERVER['HTTP_ACCEPT'], 'text/html')))) {
      return true;
    }
  }
  return false;
}?></head>

<body id="nv_<?php echo $_G['basescript'];?>" class="pg_<?php echo CURMODULE;?><?php if($_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)) { ?> <?php echo $cat['bodycss'];?><?php } ?>" onkeydown="if(event.keyCode==27) return false;"><!-- common/city --><div id="append_parent"></div><div id="ajaxwaitid"></div>
<?php if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { include template('common/header_diy'); } if(check_diy_perm($topic)) { include template('common/header_diynav'); } if(CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)) { ?>
<?php echo $diynav;?>
<?php } if(empty($topic) || $topic['useheader']) { if($_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')) { ?>
  <?php if($_G['basescript'] == 'portal' && (CURMODULE == 'index' || CURMODULE == 'list' || CURMODULE == 'view')) { } else { ?>

<div class="xi1 bm bm_c" style="display: none;">
    请选择 <a href="<?php echo $_G['siteurl'];?>forum.php?mobile=yes">进入手机版</a> <span class="xg1">|</span> <a href="<?php echo $_G['setting']['mobile']['nomobileurl'];?>">继续访问电脑版</a>
</div>
<?php } } if($_G['setting']['shortcut'] && $_G['member']['credits'] >= $_G['setting']['shortcut']) { ?>
<div id="shortcut">
<span><a href="javascript:;" id="shortcutcloseid" title="关闭">关闭</a></span>
您经常访问 <?php echo $_G['setting']['bbname'];?>，试试添加到桌面，访问更方便！
<a href="javascript:;" id="shortcuttip">添加 <?php echo $_G['setting']['bbname'];?> 到桌面</a>

</div>
<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
<?php } ?>
<div class="klp_mohdbg cl dismnone"></div>
<?php if(!klp_BeMobile()) { ?>
<div class="cl klp_hdlogin disnone">
<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_top'])) echo $_G['setting']['pluginhooks']['global_cpnav_top'];?>
<div class="cl klp_ywkd">
<div class="y">
<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_extra2'])) echo $_G['setting']['pluginhooks']['global_cpnav_extra2'];?><?php include template('common/header_userstatus'); ?></div>
<div class="klp_hdunv">
<a href="javascript:;" rel="nofollow"  class="shouye" onclick="setHomepage('<?php echo $_G['setting']['siteurl'];?>');"><span>设为首页</span></a>
        <a href="<?php echo $_G['setting']['siteurl'];?>"  onclick="addFavorite(this.href, '<?php echo $_G['setting']['sitename'];?>');return false;">加入收藏</a>

        <span class="klp_gzwm">关注我们：</span>
        <a href="<?php echo $huyou_zisyset['huyou_zisy_topweibo'];?>" rel="nofollow" class="weibo" target="_blank"><span>加微博</span></a>
        <a href="javascript:;" rel="nofollow" class="weixin" onmouseover='jq("#klp_hdnvweixin").css({"display":"block"})' onmouseout='jq("#klp_hdnvweixin").css({"display":"none"})'><span>加微信</span>
        	<div id="klp_hdnvweixin">
        		<p>微信扫一扫</p><?php echo '<img src="' . $listcityset['weixin_top'] . '" width="150" height="150"/>';?>        		
        	</div>
        </a>
        <a href="javascript:;"  rel="nofollow" id="sslct" class="fengge" onmouseover="delayShow(this, function() {showMenu({'ctrlid':'sslct','pos':'34!'})});">风格切换</a>
<div id="sslct_menu" class="cl p_pop" style="display: none;">
<?php if(!$_G['style']['defaultextstyle']) { ?><span class="sslct_btn" onclick="extstyle('')" title="默认"><i></i></span><?php } if(is_array($_G['style']['extstyle'])) foreach($_G['style']['extstyle'] as $extstyle) { ?><span class="sslct_btn" onclick="extstyle('<?php echo $extstyle['0'];?>')" title="<?php echo $extstyle['1'];?>"><i style='background:<?php echo $extstyle['2'];?>'></i></span>
<?php } ?>
</div>
<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_extra1'])) echo $_G['setting']['pluginhooks']['global_cpnav_extra1'];?>
</div>
</div>
</div>
 		 <?php } if(!IS_ROBOT) { if($_G['uid']) { ?>
<ul id="myprompt_menu" class="klp_xlpop" style="display: none;">
<li><a href="home.php?mod=space&amp;do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news<?php if(empty($_G['member']['newpm'])) { ?>_0<?php } ?>"></em>消息</a></li>
<li><a href="home.php?mod=follow&amp;do=follower"><em class="prompt_follower<?php if(empty($_G['member']['newprompt_num']['follower'])) { ?>_0<?php } ?>"></em>新听众<?php if($_G['member']['newprompt_num']['follower']) { ?>(<?php echo $_G['member']['newprompt_num']['follower'];?>)<?php } ?></a></li>
<?php if($_G['member']['newprompt'] && $_G['member']['newprompt_num']['follow']) { ?>
<li><a href="home.php?mod=follow"><em class="prompt_concern"></em>我关注的(<?php echo $_G['member']['newprompt_num']['follow'];?>)</a></li>
<?php } if($_G['member']['newprompt']) { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { ?><li><a href="home.php?mod=space&amp;do=notice&amp;view=<?php echo $key;?>"><em class="notice_<?php echo $key;?>"></em><?php echo lang('template', 'notice_'.$key); ?>(<span class="rq"><?php echo $val;?></span>)</a></li>
<?php } } if(empty($_G['cookie']['ignore_notice'])) { ?>
<li class="ignore_noticeli"><a href="javascript:;" onclick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="暂不提醒"><em class="ignore_notice"></em></a></li>
<?php } ?>
</ul>
<?php } if($_G['uid']) { ?>
<ul id="myitem_menu" class="klp_xlpop" style="display: none;">
<li><a href="forum.php?mod=guide&amp;view=my">帖子</a></li>
<li><a href="home.php?mod=space&amp;do=favorite&amp;view=me">收藏</a></li>
<li><a href="home.php?mod=space&amp;do=friend">好友</a></li>

<li><a href="home.php?mod=spacecp">设置</a></li>
<?php if($_G['setting']['taskon'] && !empty($_G['cookie']['taskdoing_'.$_G['uid']])) { ?><li><a href="home.php?mod=task&amp;item=doing" id="task_ntc" class="new">进行中的任务</a></li><?php } if(($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 6) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))) { ?>
<li><a href="portal.php?mod=portalcp"><?php if($_G['setting']['portalstatus'] ) { ?>门户管理<?php } else { ?>模块管理<?php } ?></a></li>
<?php } if($_G['uid'] && $_G['group']['radminid'] > 1) { ?>
<li><a href="forum.php?mod=modcp&amp;fid=<?php echo $_G['fid'];?>" target="_blank"><?php echo $_G['setting']['navs']['2']['navname'];?>管理</a></li>
<?php } if($_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)) { ?>
<li><a href="admin.php" target="_blank">管理中心</a></li>
<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['global_myitem_extra'])) echo $_G['setting']['pluginhooks']['global_myitem_extra'];?>
</ul>
<?php } ?><div id="qmenu_menu" class="p_pop <?php if(!$_G['uid']) { ?>blk<?php } ?>" style="margin-top: 13px;display: none;">
<?php if(!empty($_G['setting']['pluginhooks']['global_qmenu_top'])) echo $_G['setting']['pluginhooks']['global_qmenu_top'];?>
<?php if($_G['uid']) { ?>
<ul class="cl nav"><?php if(is_array($_G['setting']['mynavs'])) foreach($_G['setting']['mynavs'] as $nav) { if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?>
<li><?php echo $nav['code'];?></li>
<?php } } ?>
</ul>
<?php } elseif($_G['connectguest']) { ?>
<div class="ptm pbw hm">
请先<br /><a class="xi2" href="member.php?mod=connect"><strong>完善帐号信息</strong></a> 或 <a href="member.php?mod=connect&amp;ac=bind" class="xi2 xw1"><strong>绑定已有帐号</strong></a><br />后使用快捷导航
</div>
<?php } else { ?>
<div class="ptm pbw hm">
请 <a href="javascript:;" class="xi2" onclick="lsSubmit()"><strong>登录</strong></a> 后使用快捷导航<br />没有帐号？<a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" class="xi2 xw1"><?php echo $_G['setting']['reglinkname'];?></a>
</div>
<?php } if($_G['setting']['showfjump']) { ?><div id="fjump_menu" class="btda"></div><?php } ?>
<?php if(!empty($_G['setting']['pluginhooks']['global_qmenu_bottom'])) echo $_G['setting']['pluginhooks']['global_qmenu_bottom'];?>
</div><?php } ?><?php echo adshow("headerbanner/wp a_h");?><?php if(!klp_BeMobile()) { ?>
<div id="hd" class="">
    <div class="klp_hdc cl disnone"><?php $mnid = getcurrentnav();?><h2><?php if(!isset($_G['setting']['navlogos'][$mnid])) { ?><a href="<?php if($_G['setting']['domain']['app']['default']) { ?>http://<?php echo $_G['setting']['domain']['app']['default'];?>/<?php } else { ?>./<?php } ?>" title="<?php echo $_G['setting']['bbname'];?>">
<?php if($huyou_zisyset['huyou_zisy_pclogo'] ) { echo '<img src="' . $listcityset['logo_pc'] . '" />';?><?php } else { ?><?php echo $_G['style']['boardlogo'];?><?php } ?></a><?php } else { ?><?php echo $_G['setting']['navlogos'][$mnid];?><?php } if($huyou_zisyset['huyou_zisy_liston'] ) { ?>
<div class="klp_tool033">
<span class="klp_sct033">[切换城市]</span>
<div class="klp_citylist033" style="display: none;">
<?php if($huyou_zisyset['huyou_zisy_list1on'] ) { ?>
<?php echo $huyou_zisyset['huyou_zisy_list1'];?>							
<?php } if($huyou_zisyset['huyou_zisy_list2on'] ) { ?>
<dl class="sites-bdm">
<?php echo $huyou_zisyset['huyou_zisy_list2'];?>	
</dl>
<?php } ?>
</div>
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.klp_sct033').hover(function() {
jQuery(".klp_citylist033").css('display', 'block');
}, function() {
   jQuery(".klp_citylist033").css('display', 'none');
});
jQuery(".klp_citylist033").hover(function() {
jQuery(this).css('display', 'block');;
}, function() {
jQuery(this).css('display', 'none');
});
 })
</script>
<?php } ?>
</h2>

<div class="klp_sousuo disnone">    
<div class="pcsouz"><?php if($_G['setting']['search']) { $slist = array();?><?php if($_G['fid'] && $_G['forum']['status'] != 3 && $mod != 'group') { ?><?php
$slist[forumfid] = <<<EOF
<li><a href="javascript:;" rel="curforum" fid="{$_G['fid']}" >本版</a></li>
EOF;
?><?php } if($_G['setting']['portalstatus'] && $_G['setting']['search']['portal']['status'] && ($_G['group']['allowsearch'] & 1 || $_G['adminid'] == 1)) { ?><?php
$slist[portal] = <<<EOF
<li><a href="javascript:;" rel="article">文章</a></li>
EOF;
?><?php } if($_G['setting']['search']['forum']['status'] && ($_G['group']['allowsearch'] & 2 || $_G['adminid'] == 1)) { ?><?php
$slist[forum] = <<<EOF
<li><a href="javascript:;" rel="forum" class="curtype">帖子</a></li>
EOF;
?><?php } if(helper_access::check_module('blog') && $_G['setting']['search']['blog']['status'] && ($_G['group']['allowsearch'] & 4 || $_G['adminid'] == 1)) { ?><?php
$slist[blog] = <<<EOF
<li><a href="javascript:;" rel="blog">日志</a></li>
EOF;
?><?php } if(helper_access::check_module('album') && $_G['setting']['search']['album']['status'] && ($_G['group']['allowsearch'] & 8 || $_G['adminid'] == 1)) { ?><?php
$slist[album] = <<<EOF
<li><a href="javascript:;" rel="album">相册</a></li>
EOF;
?><?php } if($_G['setting']['groupstatus'] && $_G['setting']['search']['group']['status'] && ($_G['group']['allowsearch'] & 16 || $_G['adminid'] == 1)) { ?><?php
$slist[group] = <<<EOF
<li><a href="javascript:;" rel="group">{$_G['setting']['navs']['3']['navname']}</a></li>
EOF;
?><?php } ?><?php
$slist[user] = <<<EOF
<li><a href="javascript:;" rel="user">用户</a></li>
EOF;
?>
<?php } if($_G['setting']['search'] && $slist) { ?>
<div id="scbar" class="<?php if($_G['setting']['srchhotkeywords'] && count($_G['setting']['srchhotkeywords']) > 5) { ?>scbar_narrow <?php } ?>cl">
<form id="scbar_form" method="<?php if($_G['fid'] && !empty($searchparams['url'])) { ?>get<?php } else { ?>post<?php } ?>" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="<?php if($_G['fid'] && !empty($searchparams['url'])) { ?><?php echo $searchparams['url'];?><?php } else { ?>search.php?searchsubmit=yes<?php } ?>" target="_blank">
<input type="hidden" name="mod" id="scbar_mod" value="search" />
<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
<input type="hidden" name="srchtype" value="title" />
<input type="hidden" name="srhfid" value="<?php echo $_G['fid'];?>" />
<input type="hidden" name="srhlocality" value="<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>" />
<?php if(!empty($searchparams['params'])) { if(is_array($searchparams['params'])) foreach($searchparams['params'] as $key => $value) { $srchotquery .= '&' . $key . '=' . rawurlencode($value);?><input type="hidden" name="<?php echo $key;?>" value="<?php echo $value;?>" />
<?php } ?>
<input type="hidden" name="source" value="discuz" />
<input type="hidden" name="fId" id="srchFId" value="<?php echo $_G['fid'];?>" />
<input type="hidden" name="q" id="cloudsearchquery" value="" />

<style>
#scbar { overflow: visible; position: relative; }
#sg{ background: #FFF; width:456px; border: 1px solid #B2C7DA; }
.scbar_narrow #sg { width: 316px; }
#sg li { padding:0 8px; line-height:30px; font-size:14px; }
#sg li span { color:#999; }
.sml { background:#FFF; cursor:default; }
.smo { background:#E5EDF2; cursor:default; }
            </style>
            <div style="display: none; position: absolute; top:37px; left:44px;" id="sg">
                <div id="st_box" cellpadding="2" cellspacing="0"></div>
            </div>
<?php } ?>
<table cellspacing="0" cellpadding="0">
<tr>
    <td class="scbar_type_td"><a href="javascript:;" id="scbar_type" class="xg1" onclick="showMenu(this.id)" hidefocus="true">搜索</a></td>
<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="请输入搜索内容" autocomplete="off" x-webkit-speech speech /></td>
<td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" value="true"><strong class="xi2">搜 索</strong></button></td>
</tr>
</table>
</form>
</div>
<ul id="scbar_type_menu" class="p_pop" style="display: none;"><?php echo implode('', $slist);; ?></ul>
<script type="text/javascript">
initSearchmenu('scbar', '<?php echo $searchparams['url'];?>');
</script>
<?php } ?></div>
<style type="text/css">
.klp_sousuo #scbar{height: 41px; position: relative;}
.klp_sousuo #scbar_txt{height: 40px; width:250px;}
.klp_sousuo .scbar_btn_td{width: 66px;}
.klp_sousuo #scbar_btn{background:#3298d6 url("template/huyou_zisy/klp_img/klp_hdico.png") no-repeat scroll 20px -38px;border:0 none;border-bottom-right-radius:2px;border-top-right-radius:2px;color:#fff;cursor:pointer;display:block;font-size:16px;height:42px;outline:0 none;overflow:hidden;position:absolute;right:-1px;text-indent:-999em;top:-1px;width:66px}
.klp_sousuo{width:650px;}
.klp_sousuo .klp_fabutbn a{background:#f78015 url("template/huyou_zisy/klp_img/klp_hdico.png") no-repeat scroll 18px 9px;border:0 none;border-radius:2px;color:#fff;cursor:pointer;float:right;font-size:16px;height:44px;line-height:44px;margin-top:0;padding:0 18px 0 10px;text-indent:44px}
.klp_sousuo .klp_fabutbn a:hover{background-color:#eb6d13;transition:all 0.3s ease-in 0s}
.pcsouz{float: left;}
.klp_fabutbn{float: right;}
</style>
<?php if($_G['basescript'] === 'forum' && CURMODULE === 'forumdisplay' || $_G['basescript'] === 'forum' && CURMODULE === 'viewthread') { ?>
<div class="klp_fabutbn"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>">免费发布信息</a></div>
<?php } else { ?>
<div class="klp_fabutbn"><a onclick="showWindow('nav', this.href, 'get', 0)" href="forum.php?mod=misc&amp;action=nav">免费发布信息</a></div>
<?php } ?>


</div>
</div>

<div class="klp_nv disnone" id="klp_nv">
    <div id="nv">
<ul><?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { ?>    <?php if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><li <?php if($mnid == $nav['navid']) { ?>class="a" <?php } ?><?php echo $nav['nav'];?>></li><?php } } ?>
</ul>
<?php if(!empty($_G['setting']['pluginhooks']['global_nav_extra'])) echo $_G['setting']['pluginhooks']['global_nav_extra'];?>
</div>
    </div>
<div class="klp_phpnvwp klp_bgfff">
<div class="wp klp_popnv disnone">
<?php if(!empty($_G['setting']['plugins']['jsmenu'])) { ?>
<ul class="klp_xlpop h_pop" id="plugin_menu" style="display: none"><?php if(is_array($_G['setting']['plugins']['jsmenu'])) foreach($_G['setting']['plugins']['jsmenu'] as $module) { ?> <?php if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?>
 <li><?php echo $module['url'];?></li>
 <?php } } ?>
</ul>
<?php } ?>
<?php echo $_G['setting']['menunavs'];?>
<div id="mu" class="cl">
<?php if($_G['setting']['subnavs']) { if(is_array($_G['setting']['subnavs'])) foreach($_G['setting']['subnavs'] as $navid => $subnav) { if($_G['setting']['navsubhover'] || $mnid == $navid) { ?>
<ul class="cl <?php if($mnid == $navid) { ?>current<?php } ?>" id="snav_<?php echo $navid;?>" style="display:<?php if($mnid != $navid) { ?>none<?php } ?>">
<?php echo $subnav;?>
</ul>
<?php } } } ?>
</div>
<?php if($huyou_zisyset['huyou_zisy_2jdh'] ) { ?><div class="klp_ejdh cl">
  <ul>
    <li class="erji_1">
      <div class="klp_ejtitle "><span class="klp_font klp-zixunjian"></span><?php echo $huyou_zisyset['huyou_zisy_2jdh_01_t'];?></div>
      <ul class="ul">
<?php echo $huyou_zisyset['huyou_zisy_2jdh_01_con'];?>
      </ul>
    </li>
    <li class="erji_2">
      <div class="klp_ejtitle "><span class="klp_font klp-fangchan1"></span><?php echo $huyou_zisyset['huyou_zisy_2jdh_02_t'];?></div>
      <ul class="ul">
<?php echo $huyou_zisyset['huyou_zisy_2jdh_02_con'];?>
      </ul>
    </li>
    <li class="erji_3">
      <div class="klp_ejtitle"><span class="klp_font klp-meishijian"></span><?php echo $huyou_zisyset['huyou_zisy_2jdh_03_t'];?></div>
      <ul class="ul">
<?php echo $huyou_zisyset['huyou_zisy_2jdh_03_con'];?>
      </ul>
    </li>
    <li class="erji_4">
      <div class="klp_ejtitle"><span class="klp_font klp-qiche"></span><?php echo $huyou_zisyset['huyou_zisy_2jdh_04_t'];?></div>
      <ul class="ul">
<?php echo $huyou_zisyset['huyou_zisy_2jdh_04_con'];?>
       
      </ul>
    </li>
    <li class="erji_5">
      <div class="klp_ejtitle"><span class="klp_font klp-shenghuojian"></span><?php echo $huyou_zisyset['huyou_zisy_2jdh_05_t'];?></div>
      <ul class="ul">
<?php echo $huyou_zisyset['huyou_zisy_2jdh_05_con'];?>
      </ul>
    </li>
  </ul>
</div>
<?php } ?><?php echo adshow("subnavbanner/a_mu");?></div>
</div>
</div>
<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['global_header'])) echo $_G['setting']['pluginhooks']['global_header'];?>
<?php } ?>
<div class="header dismnone"> 
   <div class="klp_con">
   <?php $mnid = getcurrentnav();?>    <h1 class="logo <?php if($huyou_zisyset['huyou_zisy_liston'] ) { ?>logocity <?php } ?>"><a href="<?php if($_G['setting']['domain']['app']['default']) { ?>http://<?php echo $_G['setting']['domain']['app']['default'];?>/<?php } else { ?>./<?php } ?>" title="<?php echo $_G['setting']['bbname'];?>"><?php echo '<img src="' . $listcityset['logo_m'] . '" />';?></a>
   
   		<?php if($huyou_zisyset['huyou_zisy_liston'] ) { ?>
<div class=" klp_tool033m">
<span class="klp_sct033m">[切换城市]</span>

</div>
<div class="klp_citylist033m" style="display: none;">
<?php if($huyou_zisyset['huyou_zisy_list1on'] ) { ?>
<?php echo $huyou_zisyset['huyou_zisy_list1'];?>							
<?php } if($huyou_zisyset['huyou_zisy_list2on'] ) { ?>
<dl class="sites-bdm">
<?php echo $huyou_zisyset['huyou_zisy_list2'];?>	
</dl>
<?php } ?>
</div>

<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.klp_sct033m').toggle(function() {
jQuery(".klp_citylist033m").css('display', 'block');
}, function() {
   jQuery(".klp_citylist033m").css('display', 'none');
});

 })
</script>
<?php } ?>
   </h1> 
    <div class="klp_snv"> 
     <ul>
<?php if($huyou_zisyset['huyou_zisy_sidenv'] ) { ?> 
 <?php echo $huyou_zisyset['huyou_zisy_sidenvcon'];?>
 <?php } else { ?>
        <?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { ?>        <?php if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?>
        		<?php if($_G['setting']['subnavs']) { ?>
                <li <?php if($mnid == $nav['navid']) { ?>class="klp_subnvli cur" <?php } ?><?php echo $nav['nav'];?>><?php if(is_array($_G['setting']['subnavs'])) foreach($_G['setting']['subnavs'] as $navid => $subnav) { if($_G['setting']['navsubhover'] ) { if($mnid == $nav['navid'] && $mnid == $navid) { ?>
                        <ul class="mymenu"><?php echo $subnav;?></ul>
                        <?php } } } ?>
                    </li>
<?php } else { ?>
                <li <?php if($mnid == $nav['navid']) { ?>class="cur" <?php } ?><?php echo $nav['nav'];?>></li>
                <?php } ?>
        <?php } ?>
        <?php } ?>
 <?php } ?>
     </ul> 
    
    </div> <span class="klp_snvplay"><i class="klp_font_znv"></i></span>
   
   <span class="klp_ynvplay"><i class="klp_font_topuser" style="font-size: 25px;"></i></span> 
    <span class="klp_snvbg"></span>
    
    <?php include template('common/header_userstatusm'); ?> 
    <span class="klp_search"><a href="javascript:" class="klp_souplay"><i class="klp_font_sou"></i></a><a href="javascript:" class="klp_souoff"><i class="klp_font_sou"></i></a></span> 
   </div> 
  </div>
   <div class="souh">
<div class="klp_con">
    <?php if($_G['setting']['search']) { $slist = array();?><?php if($_G['fid'] && $_G['forum']['status'] != 3 && $mod != 'group') { ?><?php
$slist[forumfid] = <<<EOF
<li><a href="javascript:;" rel="curforum" fid="{$_G['fid']}" >本版</a></li>
EOF;
?><?php } if($_G['setting']['portalstatus'] && $_G['setting']['search']['portal']['status'] && ($_G['group']['allowsearch'] & 1 || $_G['adminid'] == 1)) { ?><?php
$slist[portal] = <<<EOF
<li><a href="javascript:;" rel="article">文章</a></li>
EOF;
?><?php } if($_G['setting']['search']['forum']['status'] && ($_G['group']['allowsearch'] & 2 || $_G['adminid'] == 1)) { ?><?php
$slist[forum] = <<<EOF
<li><a href="javascript:;" rel="forum" class="curtype">帖子</a></li>
EOF;
?><?php } if(helper_access::check_module('blog') && $_G['setting']['search']['blog']['status'] && ($_G['group']['allowsearch'] & 4 || $_G['adminid'] == 1)) { ?><?php
$slist[blog] = <<<EOF
<li><a href="javascript:;" rel="blog">日志</a></li>
EOF;
?><?php } if(helper_access::check_module('album') && $_G['setting']['search']['album']['status'] && ($_G['group']['allowsearch'] & 8 || $_G['adminid'] == 1)) { ?><?php
$slist[album] = <<<EOF
<li><a href="javascript:;" rel="album">相册</a></li>
EOF;
?><?php } if($_G['setting']['groupstatus'] && $_G['setting']['search']['group']['status'] && ($_G['group']['allowsearch'] & 16 || $_G['adminid'] == 1)) { ?><?php
$slist[group] = <<<EOF
<li><a href="javascript:;" rel="group">{$_G['setting']['navs']['3']['navname']}</a></li>
EOF;
?><?php } ?><?php
$slist[user] = <<<EOF
<li><a href="javascript:;" rel="user">用户</a></li>
EOF;
?>
<?php } if($_G['setting']['search'] && $slist) { ?>

<div id="scbar" class="<?php if($_G['setting']['srchhotkeywords'] && count($_G['setting']['srchhotkeywords']) > 5) { ?>scbar_narrow <?php } ?>cl">
<form id="scbar_form" class="souh_fm" method="<?php if($_G['fid'] && !empty($searchparams['url'])) { ?>get<?php } else { ?>post<?php } ?>" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="<?php if($_G['fid'] && !empty($searchparams['url'])) { ?><?php echo $searchparams['url'];?><?php } else { ?>search.php?searchsubmit=yes<?php } ?>" target="_blank" style="margin: 0;">

<?php if($_G['basescript'] == 'portal' && (CURMODULE == 'list' || CURMODULE == 'view')) { ?>
<input type="hidden" name="mod" id="scbar_mod" value="article" />
<?php } else { ?>
<input type="hidden" name="mod" id="scbar_mod" value="forum" />
<?php } ?>
<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
<input type="hidden" name="srchtype" value="title" />
<input type="hidden" name="srhfid" value="<?php echo $_G['fid'];?>" />
<input type="hidden" name="srhlocality" value="<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>" />
<?php if(!empty($searchparams['params'])) { if(is_array($searchparams['params'])) foreach($searchparams['params'] as $key => $value) { $srchotquery .= '&' . $key . '=' . rawurlencode($value);?><input type="hidden" name="<?php echo $key;?>" value="<?php echo $value;?>" />
<?php } ?>
<input type="hidden" name="source" value="discuz" />
<input type="hidden" name="fId" id="srchFId" value="<?php echo $_G['fid'];?>" />
<input type="hidden" name="q" id="cloudsearchquery" value="" />
            <div style="display: none; position: absolute; top:37px; left:44px;" id="sg">
           <div id="st_box" cellpadding="2" cellspacing="0"></div>
            </div>
<style>
#scbar { overflow: visible; position: relative; }
#sg{ background: #FFF; width:456px; border: 1px solid #B2C7DA; }
.scbar_narrow #sg { width: 316px; }
#sg li { padding:0 8px; line-height:30px; font-size:14px; }
#sg li span { color:#999; }
.sml { background:#FFF; cursor:default; }
.smo { background:#E5EDF2; cursor:default; }
            </style>

<?php } ?>
        <div class="klp_minput cl">
<input type="text" class="sou_input" name="srchtxt" id="scbar_txt"  placeholder="请输入搜索内容" autocomplete="off" x-webkit-speech speech />
        </div>
        <button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="soubtn button-primary" value="true" style="height: 42px;"><i class="klp_font_soutan"></i></button>		

</form>
</div>

<script type="text/javascript">
initSearchmenu('scbar', '<?php echo $searchparams['url'];?>');
</script>
<?php } ?></div>
 </div>
  
<div id="wp" class="wp">
<?php if($huyou_zisyset['huyou_zisy_2jdh_m'] ) { ?>	
<nav class="klp_subnv003 dismnone" id="klp_subnv003">
<div id="klp_subnv003_con" style="touch-action: pan-y; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
<?php echo $huyou_zisyset['huyou_zisy_2jdh_m_con'];?>
</div>
<a href="javascript:;" title="" class="klp_subnv003_more" id="klp_subnv003_moreshow" target="_self" onclick="jQuery(this).hide();jQuery('#klp_subnv003_morehide').show();jQuery('.klp_subnv003_subcon').show();"></a>
<a href="javascript:;" title="" class="klp_subnv003_more klp_subnv003_more02" id="klp_subnv003_morehide" target="_self" onclick="jQuery(this).hide();jQuery('#klp_subnv003_moreshow').show();jQuery('.klp_subnv003_subcon').hide();" style="display: none;"></a>
</nav>
<nav class="klp_subnv003_subcon dismnone">
<div class="klp_subnv003_ov">
<?php echo $huyou_zisyset['huyou_zisy_2jdh_m_con'];?>
</div>
</nav>
<?php } ?>
